#ifndef CNOISE_H_
#define CNOISE_H_

#include "component.h"
#include "sync.h"

#include <GL/gl.h>

class cNoise : public Component {
public:
	cNoise(Sync* sync);
	virtual ~cNoise();

	void initialize();
	void draw(float time, float dt, float alpha);

private:
	GLenum glProgram;
	GLenum fragmentShader;
	int paramTime;
	int paramScale;
	int paramAlpha;
};

#endif /* CNOISE_H_ */
